<?php
class Model{
	protected $table = null;
	protected $db   = null;
	
	public function __construct() {
		$this -> db = PdoClass::getInstance();
	}
	
	public function autoExecute($data, $where = '', $action = 'insert') {
		return $this -> db -> autoExecute($this -> table, $data, $where, $action);
	}
}
?>